<h1><span></span><?= lang('label_menu_link_private_messages'); ?></h1>

<ul class="breadcrumb">
    <li><a href="<?= base_url() ?>"><?= lang('label_home') ?></a></li>
    <li><a href="<?= base_url('user/profile') ?>"><?= lang('label_profile') ?></a></li>
    <li><a href="<?= base_url('private_messages') ?>"><?= lang('label_menu_link_private_messages'); ?></a></li>
    <li><?= lang('label_send_message'); ?></li>
</ul>


<div class="page">

    <?php $this->load->view('template/default/private/top') ?>

    <div style="overflow:hidden;">

        <?php $this->load->view('template/default/private/side') ?>

        <div class="profile_page">
            <h2 class="profile_page_title"><?= lang('label_menu_link_private_messages'); ?> &raquo; <strong><?= lang('label_inbox') ?></strong></h2>

            <form class="forms inside_1" action="<?php echo current_url() ?>" method="post">

                <div class="text">
                    <label for="to"><?php echo lang('label_to') ?> :</label>
                    <samp>
                        <input type="text" name="subject" id="subject" disabled="disabled" class="input-user" value="<?= get_username_with_id($userid) ?>" />
                    </samp>
                </div>
                <div class="text">
                    <label for="subject"><?php echo lang('label_subject') ?> :</label>
                    <samp>

                        <input type="text" name="subject" id="subject" class="input-user" value="<?= form_val('subject') ?>" />
                    </samp>
                </div>
                <div class="textarea">
                    <label for="message"><?php echo lang('label_message') ?> :</label>
                    <samp>
                        <textarea rows="" cols="" class="" name="messages"><?= form_val('messages') ?></textarea>

                    </samp>
                </div>
                <div class="submit">
                    <input name="submit" value="<?= lang('label_send') ?>" type="submit">
                </div>


            </form>
        </div></div></div>

